package com.ts.boot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

//@ResponseBody
//@Controller
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String handler01(@RequestParam String name,@RequestParam String age){
        return "你好!"+ name + ",你今年" + age +"岁了！";
    }
}
